package org.example;

import java.util.List;

public class MethodInfo {
    String methodComments;
    String returnType;
    String methodName;

    public MethodInfo(String methodComments, String returnType, String methodName) {
        this.methodComments = methodComments;
        this.returnType = returnType;
        this.methodName = methodName;
    }

    public String getMethodComments() {
        return methodComments;
    }

    public void setMethodComments(String methodComments) {
        this.methodComments = methodComments;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    @Override
    public String toString() {
        return "MethodInfo{" +
                "methodComments='" + methodComments + '\'' +
                ", returnType='" + returnType + '\'' +
                ", methodName='" + methodName + '\'' +
                '}';
    }
}